# -*- coding: utf-8 -*-            
# @Time : 2024/6/10 18:09
# @Author  : lining
# @FileName: handle_exception.py
# @Description: 自定义异常


class NoSuchElementException(Exception):
    def __init__(self, value):
        self.value = value

    def __str__(self):
        return repr(self.value)


class NoSuchLocatorException(Exception):
    def __init__(self, value):
        self.value = value

    def __str__(self):
        return repr(self.value)


